/*
 * @Description:
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-08-20 14:29:58
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-12-02 16:35:59
 * @FilePath: /nhw/src/router/module/work.js
 */

import trans from './util/addPre.js';

const work = [
  {
    name: 'Snapshot',
    path: 'snapshot',
    meta: {
      title: '随手拍',
      level: 2
    },
    component: () => import(/* webpackChunkName: "snapshot" */'views/Work/Snapshot')
  },
  {
    name: 'SnapshotRecord',
    path: 'snapshotRecord',
    meta: {
      title: "随手拍纪录",
      level: 3
    },
    component: () => import(/* webpackChunkName: "snapshot" */'views/Work/Snapshot/SnapshotRecord')
  },
  {
    name: 'SnapshotRepeated',
    path: 'snapshotRepeated',
    meta: {
      title: "随手拍重复订单",
      level: 3
    },
    component: () => import(/* webpackChunkName: "snapshot" */'views/Work/Snapshot/SnapshotRepeated')
  },
  {
    name: 'SnapshotDetails',
    path: 'SnapshotDetails',
    meta: {
      title: '详情',
      level: 4
    },
    component: () => import(/* webpackChunkName: "snapshot" */'views/Work/Snapshot/SnapshotDetails')
  },
  {
    name: 'WorkflowSteps',
    path: 'workflowSteps',
    meta: {
      title: '流程图',
      level: 10
    },
    component: () => import('views/Work/WorkflowSteps')
  },
  {
    name: 'EquipmentRepair',
    path: 'EquipmentRepair',
    meta: {
      title: '设备报修',
      level: 2
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair')
  },
  {
    name: 'EquipmentRepair2',
    path: 'EquipmentRepair2',
    meta: {
      title: '设备报修',
      level: 3
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair/index2')
  },
  {
    name: 'Equipmentselection',
    path: 'Equipmentselection',
    meta: {
      title: '设备选择',
      level: 3
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair/EquipmentSelection.vue'),
  },
  {
    name: 'EquipmentselectionList',
    path: 'EquipmentselectionList',
    meta: {
      title: '设备选择',
      level: 4
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair/EquipmentselectionList.vue'),
  },
  {
    name: 'RecordsList',
    path: 'RecordsList',
    meta: {
      title: '报修记录',
      level: 3
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair/RecordsList.vue'),
  },
  {
    name: 'EquipmentDetails',
    path: 'EquipmentDetails',
    meta: {
      title: '设备详情',
      level: 2
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair/EquipmentDetails.vue'),
  },
  {
    name: 'Details1',
    path: 'Details1',
    meta: {
      title: '详情',
      level: 4
    },
    component: () => import(/* webpackChunkName: "equipmentRepair" */'views/Work/EquipmentRepair/Details1.vue'),
  },
  {
    name: 'accidentReport',
    path: 'accidentReport',
    meta: {
      title: '事故上报',
      level: 2
    },
    component: () => import('views/Work/accidentReport/accidentReport.vue'),
  },
  {
    name: 'AccidentRecordList',
    path: 'AccidentRecordList',
    meta: {
      title: '事故记录',
      level: 3
    },
    component: () => import('views/Work/accidentReport/AccidentRecordList.vue'),
  },
  {
    name: 'DetailsAccident',
    path: 'DetailsAccident',
    meta: {
      title: '事故详情',
      level: 4
    },
    component: () => import('views/Work/accidentReport/DetailsAccident.vue'),
  },
  {
    name: 'dangersRectification',
    path: 'dangersRectification',
    meta: {
      title: '隐患整改',
      level: 2
    },
    component: () => import('views/Work/dangersRectification/dangersRectification.vue'),
  },
  {
    name: 'rectificationDetails',
    path: 'rectificationDetails',
    meta: {
      title: '整改详情',
      level: 3
    },
    component: () => import('views/Work/dangersRectification/rectificationDetails.vue'),
  },
  {
    name: 'HiddenTaskForce',
    path: 'HiddenTaskForce',
    meta: {
      title: '隐患任务分配',
      level: 4
    },
    component: () => import('views/Work/dangersRectification/HiddenTaskForce.vue'),
  },
  {
    name: 'SafetyTraining',
    path: 'SafetyTraining',
    meta: {
      title: '安全培训',
      level: 2
    },
    component: () => import('views/Work/SafetyTraining/SafetyTraining.vue'),
  },
  {
    name: 'SafetyTrainingDetails',
    path: 'SafetyTrainingDetails',
    meta: {
      title: '安全培训',
      level: 3
    },
    component: () => import('views/Work/SafetyTraining/SafetyTrainingDetails.vue'),
  },
  {
    name: 'SafetyMeeting',
    path: 'SafetyMeeting',
    meta: {
      title: '安全会议',
      level: 3
    },
    component: () => import('views/Work/SafetyMeeting/SafetyMeeting.vue'),
  },
  {
    name: 'SafetyMeetingDetails',
    path: 'SafetyMeetingDetails',
    meta: {
      title: '安全会议',
      level: 4
    },
    component: () => import('views/Work/SafetyMeeting/SafetyMeetingDetails.vue'),
  },
  {
    name: 'EmergencyDrill',
    path: 'EmergencyDrill',
    meta: {
      title: '应急演练',
      level: 3
    },
    component: () => import('views/Work/EmergencyDrill/EmergencyDrill.vue'),
  },
  {
    name: 'EmergencyDrillDetails',
    path: 'EmergencyDrillDetails',
    meta: {
      title: '应急演练',
      level: 4
    },
    component: () => import('views/Work/EmergencyDrill/EmergencyDrillDetails.vue'),
  },
  {
    name: 'JobManagement',
    path: 'JobManagement',
    meta: {
      title: '作业管理',
      level: 2
    },
    component: () => import('views/Work/JobManagement/JobManagement.vue'),
  },
  {
    name: 'JobDetails',
    path: 'JobDetails',
    meta: {
      title: '作业详情',
      level: 3
    },
    component: () => import('views/Work/JobManagement/JobDetails.vue'),
  },
  {
    name: 'JobDetailsNext',
    path: 'JobDetailsNext',
    meta: {
      title: '作业详情2',
      level: 4
    },
    component: () => import('views/Work/JobManagement/JobDetailsNext.vue'),
  },
  {
    name: 'SafetyConfirmation',
    path: 'SafetyConfirmation',
    meta: {
      title: '动火作业',
      level: 4
    },
    component: () => import('views/Work/JobManagement/SafetyConfirmation.vue'),
  },
  // {
  //   name: 'changeArea',
  //   path: 'changeArea',
  //   meta: {
  //     title: '作业区域选择',
  //     level: 4
  //   },
  //   component: () => import('views/Work/JobManagement/changeArea.vue'),
  // },
  {
    name: 'ConfirmationOfSafetyMeasures',
    path: 'ConfirmationOfSafetyMeasures',
    meta: {
      title: '安全措施确认',
      level: 4
    },
    component: () => import('views/Work/JobManagement/ConfirmationOfSafetyMeasures.vue'),
  },
  {
    name: 'RiskAnalysis',
    path: 'RiskAnalysis',
    meta: {
      title: '风险分析',
      level: 4
    },
    component: () => import('views/Work/JobManagement/RiskAnalysis.vue'),
  },
  {
    name: 'RisksAndMeasures',
    path: 'RisksAndMeasures',
    meta: {
      title: '风险与措施',
      level: 4
    },
    component: () => import('views/Work/JobManagement/RisksAndMeasures.vue'),
  },
  {
    name: 'SelectPersonnel',
    path: 'SelectPersonnel',
    meta: {
      title: '选择人员',
      level: 4
    },
    component: () => import('views/Work/JobManagement/SelectPersonnel.vue'),
  },
  {
    name: 'SelectUnit',
    path: 'SelectUnit',
    meta: {
      title: '选择施工单位',
      level: 4
    },
    component: () => import('views/Work/JobManagement/SelectUnit.vue'),
  },
  {
    name: 'WorkRecord',
    path: 'WorkRecord',
    meta: {
      title: '作业记录',
      level: 5
    },
    component: () => import('views/Work/JobManagement/WorkRecord.vue'),
  },
  {
    name: 'JobDetails1',
    path: 'JobDetails1',
    meta: {
      title: '详情',
      level: 6
    },
    component: () => import('views/Work/JobManagement/JobDetails1.vue'),
  },
  //安全检查
  {
    name: 'SafetyInspection',
    path: 'safetyInspection',
    meta: {
      title: '安全检查',
      level: 2
    },
    component: () => import(/* webpackChunkName: "safetyInspection" */'views/Work/SafetyInspection')
  },
  {
    name: 'SafetyPresent',
    path: 'safetyPresent',
    meta: {
      title: '提交安全检查单据',
      level: 3
    },
    component: () => import(/* webpackChunkName: "safetyInspection" */'views/Work/SafetyInspection/SafetyPresent')
  },
  {
    name: 'SafetyDetails',
    path: 'safetyDetails',
    meta: {
      title: '安全检查详情',
      level: 3
    },
    component: () => import(/* webpackChunkName: "safetyInspection" */'views/Work/SafetyInspection/SafetyDetails')
  },

  {
    name: 'SafetyAppendQuestion',
    path: 'safetyAppendQuestion',
    meta: {
      title: '添加安全问题',
      level: 4
    },
    component: () => import(/* webpackChunkName: "safetyInspection" */'views/Work/SafetyInspection/SafetyAppendQuestion')
  },
  {
    name: 'InspectionList',
    path: 'InspectionList',
    meta: {
      title: '设备巡检列表',
      level: 2
    },
    component: () => import('views/Work/EquipmentInspection/InspectionList.vue')
  },
  {
    name: 'InspectionDet',
    path: 'InspectionDet',
    meta: {
      title: '设备巡检区域列表',
      level: 3
    },
    component: () => import('views/Work/EquipmentInspection/InspectionDet.vue')
  },
  {
    name: 'InspectionTransfer',
    path: 'InspectionTransfer',
    meta: {
      title: '设备巡检区域任务分配',
      level: 4
    },
    component: () => import('views/Work/EquipmentInspection/InspectionTransfer.vue')
  },
  {
    name: 'InspectionRecord',
    path: 'InspectionRecord',
    meta: {
      title: '设备巡记录',
      level: 4
    },
    component: () => import('views/Work/EquipmentInspection/InspectionRecord.vue')
  },
  {
    name: 'HasInspection',
    path: 'HasInspection',
    meta: {
      title: '设备巡检记录已完成',
      level: 3
    },
    component: () => import('views/Work/EquipmentInspection/HasInspection.vue')
  },
  {
    name: 'StatisticalAnalysis',
    path: 'statisticalAnalysis',
    meta: {
      title: '统计分析',
      level: 2
    },
    component: () => import('views/Work/StatisticalAnalysis')
  },
  {
    name: 'ThreeCloseOneClosed',
    path: 'threeCloseOneClosed',
    meta: {
      title: '三关一闭-商管',
      level: 2
    },
    component: () => import('views/Work/ThreeCloseOneClosed')
  },
  {
    name: 'ClosingRecordStoreList',
    path: 'ClosingRecordStoreList',
    meta: {
      title: '三关一闭-商管-闭店记录-列表',
      level: 3
    },
    component: () => import('views/Work/ThreeCloseOneClosed/ClosingRecordStoreList.vue')
  },
  {
    name: 'ClosingRecordStore',
    path: 'ClosingRecordStore',
    meta: {
      title: '三关一闭-商管-闭店记录-详情',
      level: 4
    },
    component: () => import('views/Work/ThreeCloseOneClosed/ClosingRecordStore.vue')
  },
  {
    name: 'CloseYourStoreOperations',
    path: 'CloseYourStoreOperations',
    meta: {
      title: '三关一闭-商管-确认闭店',
      level: 3
    },
    component: () => import('views/Work/ThreeCloseOneClosed/CloseYourStoreOperations.vue')
  },
  {
    name: 'MyShop',
    path: 'MyShop',
    meta: {
      title: '三关一闭-我的店铺-闭店提交',
      level: 2
    },
    component: () => import('views/Work/ThreeCloseOneClosed/MyShop.vue')
  },
  {
    name: 'MyShopList',
    path: 'MyShopList',
    meta: {
      title: '三关一闭-我的店铺-闭店列表',
      level: 3
    },
    component: () => import('views/Work/ThreeCloseOneClosed/MyShopList.vue')
  },
  {
    name: 'MyShopInfo',
    path: 'MyShopInfo',
    meta: {
      title: '三关一闭-我的店铺-闭店详情',
      level: 4
    },
    component: () => import('views/Work/ThreeCloseOneClosed/MyShopInfo.vue')
  },
  {
    name: 'Supervisory',
    path: 'supervisory',
    meta: {
      title: '专项督办',
      level: 2
    },
    component: () => import('views/Work/Supervisory')
  },
  {
    name: 'addSupervisory',
    path: 'addSupervisory',
    meta: {
      title: '专项督办新增页面',
      level: 3
    },
    component: () => import('views/Work/Supervisory/addSupervisory.vue')
  },
  {
    name: 'SupervisoryDetails',
    path: 'SupervisoryDetails',
    meta: {
      title: '专项督办详情',
      level: 3
    },
    component: () => import('views/Work/Supervisory/SupervisoryDetails.vue')
  },
  {
    name: 'OverseeLiabilityCompanies',
    path: 'OverseeLiabilityCompanies',
    meta: {
      title: '专项督办详情-责任公司',
      level: 4
    },
    component: () => import('views/Work/Supervisory/OverseeLiabilityCompanies.vue')
  },
  {
    name: 'SupervisorResponsiblePerson',
    path: 'SupervisorResponsiblePerson',
    meta: {
      title: '专项督办详情-责任人',
      level: 5
    },
    component: () => import('views/Work/Supervisory/SupervisorResponsiblePerson.vue')
  },
  {
    name: 'EmergencyManagement',
    path: 'emergencyManagement',
    meta: {
      title: '应急管理',
      level: 2
    },
    component: () => import('views/Work/EmergencyManagement')
  },
  {
    name: 'EmergencyGoodsDetails',
    path: 'emergencyGoodsDetails',
    meta: {
      title: '应急物资',
      level: 3
    },
    component: () => import('views/Work/EmergencyManagement/EmergencyGoodsDetails')
  },
  {
    name: 'EmergencyPlanDetails',
    path: 'emergencyPlanDetails',
    meta: {
      title: '应急预案详情',
      level: 3
    },
    component: () => import('views/Work/EmergencyManagement/EmergencyPlanDetails')
  },
]

trans('/work/', work)

export default work
